/**
 * 添加localStorage
 * @param {string} key
 * @param {any} value
 * */
export const setLocalStorage = function (key, value) {
  localStorage.setItem(key, value)
}

/**
 * 获取localStorage
 * @param {string} key
 * */
export const getLocalStorage = function (key) {
  return localStorage.getItem(key)
}

/**
 * 删除localStorage
 * @param {string} key
 * */
export const removeLocalStorage = function (key) {
  localStorage.removeItem(key)
}
